﻿using System.Web.Optimization;

namespace TestApplication.WebUI
{
    public class BundleConfigs
    {
        public static void RegisterBundles(BundleCollection bundles)
        {
            #region Scripts

            bundles.Add(
                new ScriptBundle("~/bundles/angular")
                    .Include(
                        "~/Scripts/angular.js",
                        "~/Scripts/angular-route.js"
                    ));

            bundles.Add(
                new ScriptBundle("~/bundles/angular-app")
                    .Include(
                        "~/Scripts/angular/app.js",
                        "~/Scripts/angular/controllers.js",
                        "~/Scripts/angular/services.js"
                    ));

            bundles.Add(
                new ScriptBundle("~/bundles/modernizr").Include("~/Scripts/modernizr-2.6.2.js"));

            bundles.Add(
                new ScriptBundle("~/bundles/bootstrap").Include("~/Scripts/bootstrap.js"));

            bundles.Add(
                new ScriptBundle("~/bundles/jquery").Include("~/Scripts/jquery-{version}.js"));

            #endregion

            #region Styles

            bundles.Add(
                new StyleBundle("~/Content/Site.css").Include("~/Content/Site.css"));

            bundles.Add(
                new StyleBundle("~/Content/bootstrap.css").Include("~/Content/bootstrap.css"));

            #endregion
        }
    }
}